package com.hex.ds.hdtp.core.app.script.analyze.service;

import com.hex.ds.hdtp.core.app.script.analyze.dto.response.ScriptAnalyzeTransferResponseDto;

import java.util.List;

/**
 * @Package com.hex.ds.hdtp.core.app.script.analyze.service
 * @ClassName IScriptAnalyzeTransferService
 * @Description 脚本分析任务和各迁移模块任务关系-业务接口
 * @Author gj.xu
 * @Date 2023/12/8 16:16
 * @Version v2.0
 **/
public interface IScriptAnalyzeTransferService {

    /**
     * 根据分析任务主键查询
     *
     * @param analyzeTaskPkId
     * @return
     */
    List<ScriptAnalyzeTransferResponseDto> queryListByAnalyzeTaskId(String analyzeTaskPkId);

    /**
     * 新增
     *
     * @param analyzeTaskPkId
     * @param transferTaskPkId
     * @param transferTaskType
     * @return
     */
    int add(String analyzeTaskPkId, String transferTaskPkId, String transferTaskType);

    /**
     * 根据分析任务主键删除
     *
     * @param analyzeTaskPkId
     * @return
     */
    Integer removeByAnalyzeTaskId(String analyzeTaskPkId);
}
